#include <stdio.h>

int main()
{typedef union A
{
	char a;
	int b;
}A;
	A a;
	a.b = 1;
	if (a.a == 1)
		printf("小端存储\n");
	else
		printf("大端存储\n");
}
